From 3dea01d51619361d4480bb1ba458f00bcf9e2eb4 Mon Sep 17 00:00:00 2001 From: robertl Date: Wed, 29 Jun 2011 17:43:38 +0000 Subject: [PATCH] Suppress warning on GCC 4.2 when building 32 bit mode. --- gpsbabel/mac/libusb/darwin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gpsbabel/mac/libusb/darwin.c b/gpsbabel/mac/libusb/darwin.c index d550fa6b1..91825cb05 100644 --- a/gpsbabel/mac/libusb/darwin.c +++ b/gpsbabel/mac/libusb/darwin.c @@ -1115,7 +1115,7 @@ int usb_os_find_devices(struct usb_bus *bus, struct usb_device **devices) result = (*(device))->GetDeviceAddress(device, (USBDeviceAddress *)&address); if (usb_debug >= 2) - fprintf(stderr, "usb_os_find_devices: Found USB device at location 0x%08x\n", location); + fprintf(stderr, "usb_os_find_devices: Found USB device at location 0x%08lx\n", location); /* first byte of location appears to be associated with the device's bus */ if (location >> 24 == bus_loc >> 24) { @@ -1142,7 +1142,7 @@ int usb_os_find_devices(struct usb_bus *bus, struct usb_device **devices) LIST_ADD(fdev, dev); if (usb_debug >= 2) - fprintf(stderr, "usb_os_find_devices: Found %s on %s at location 0x%08x\n", + fprintf(stderr, "usb_os_find_devices: Found %s on %s at location 0x%08lx\n", dev->filename, bus->dirname, location); } -- 2.30.2